package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Ddfenlei;

/**
 * 订单类型Service接口
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public interface IDdfenleiService 
{
    /**
     * 查询订单类型
     * 
     * @param ddflId 订单类型主键
     * @return 订单类型
     */
    public Ddfenlei selectDdfenleiByDdflId(Long ddflId);

    /**
     * 查询订单类型列表
     * 
     * @param ddfenlei 订单类型
     * @return 订单类型集合
     */
    public List<Ddfenlei> selectDdfenleiList(Ddfenlei ddfenlei);

    /**
     * 新增订单类型
     * 
     * @param ddfenlei 订单类型
     * @return 结果
     */
    public int insertDdfenlei(Ddfenlei ddfenlei);

    /**
     * 修改订单类型
     * 
     * @param ddfenlei 订单类型
     * @return 结果
     */
    public int updateDdfenlei(Ddfenlei ddfenlei);

    /**
     * 批量删除订单类型
     * 
     * @param ddflIds 需要删除的订单类型主键集合
     * @return 结果
     */
    public int deleteDdfenleiByDdflIds(Long[] ddflIds);

    /**
     * 删除订单类型信息
     * 
     * @param ddflId 订单类型主键
     * @return 结果
     */
    public int deleteDdfenleiByDdflId(Long ddflId);
}
